import type { PageParams } from '@/types/global'
import type { HotResult } from '@/types/hot'
import { http } from '@/utils/http'
type HotParams = PageParams & {subType?:string}
export const useHotRecommendApi = () => {
    return {
        getHotRecommend: (url:string,data?:HotParams) => {
            return http<HotResult>({
                method:'GET',
                url,
                data
            })
        }
    }
} 